package com.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("courses") // 对应数据库表名
public class Course   {

    @TableId(value = "id", type = IdType.AUTO)
    //id
    private Long id;
    //课程名称
    private String name;
    //课程编码
    private String code;
    //课程描述信息
    private String info;
    //课程价格
    private Double price;
    //课程学科
    private Integer subject;
    //适用人群
    private Integer applicablePerson;
    //创建人
    private String createBy;
    //  创建时间
    private LocalDateTime createTime;
    private String updateBy;
    private LocalDateTime updateTime;
}
